package com.pc.enrty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Orderitems {
    private Integer id;//订单商品主键
    private Integer oid;//订单表id
    private Integer fid;//订单商品（食品表id）
    private Integer quantity;//数量
    private Double price;//单价（防止下单后价格浮动）
}
